﻿@model Rated.Website.Classes.BreadcrumbTrail
<span class="label floatleft">Location: </span>
<ul class="breadcrumbTrail clearboth">
    @{
        var lastItem = Model.Trail.Last();
        foreach (var breadcrumb in Model.Trail)
        {
        <li><a href="#" title="Search all in @breadcrumb.Text">@breadcrumb.Text</a>
            @{if (!breadcrumb.Equals(lastItem))
              {
                @Html.Raw("&nbsp;|&nbsp;");
              }
            }
        </li>
        }
    }
</ul>
